package com.example.demo.entity.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author gxh
 * 借书卡实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Card {
    private int id;
    //等级id
    private int levelId;
    //办卡时间
    private Date createTime;
    //卡过期时间
    private Date overdueTime;
    //学生id
    private int sId;
    //卡的状态
    private int state;
    //卡号
    private int number;
    //余额
    private double money;
    //可以借的书籍本数
    private int count;
}
